package com.lingkang.xcoa.data.dao;

import com.lingkang.xcoa.data.entity.OaRole;import com.lingkang.xcoa.data.vo.RoleUserListVo;import java.util.List;

/**
 * @author linke
 * @date 2020/8/25 23:37
 * @description
 */
public interface OaRoleMapper {

  int deleteByPrimaryKey(Integer roleId);

  int insertSelective(OaRole record);

  OaRole selectByPrimaryKey(Integer roleId);

  int updateByPrimaryKeySelective(OaRole record);

  List<RoleUserListVo> getList(String username);

  List<String> getRoleByUsername(String username);
}
